<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<section th:each="simpleInfo : ${simpleInfos}">
    <span th:if="${simpleInfo.getInfo_type()} eq '0'">
        <img th:src="${simpleInfo.getInfo_path()}" alt="资源未找到，请咨询管理员"><br>
    </span>
    <span th:if="${simpleInfo.getInfo_type()} eq '1'">
<!--        <embed height="50" width="1000" th:src="${simpleInfo.getInfo_path()}"><br>-->
        <audio controls>
            <source th:src="${simpleInfo.getInfo_path()}" type="audio/wav"><br>
        </audio>
        <a th:href="${simpleInfo.getInfo_path()}">使用内联程序播放音频</a>
    </span>
    <span th:if="${simpleInfo.getInfo_type()} eq '3'">
        <video width="320" height="240" controls>
            <source th:src="${simpleInfo.getInfo_path()}" type="video/mp4"><br>
        </video>
        <a th:href="${simpleInfo.getInfo_path()}">使用内联程序播放视频</a>

    </span>
</section>
</body>
</html>